<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        body {
            background-color: pink;
        }
        div {
            background-image: url(../f711bbf1bebc85790ef6b88ee34eba6.jpg);
            width: 1000px;
            height: 1000px;
            background-position: center center;
            background-size: contain;
        }
    </style>
</head>
<body>
    <div>
        这是我在学习背景相关的属性
    </div>
</body>
</html>